package com.oro.dao;

import java.util.List;

import com.oro.domain.Cliente;

public interface ClientiDao {

	public void delete(Cliente cliente);

	/**
	 * Delete the customer having the give id.
	 * 
	 * @param id
	 */
	public void delete(Long id);

	/**
	 * Erases all customers from database.
	 */
	public void deleteClienti();

	public Cliente getCliente(Long id);

	/**
	 * 
	 * @return la lista di TUTTI i clienti
	 */
	public List<Cliente> getClienti();

	public List<Cliente> getClientiByCognome(String cognome);

	public int getNumeroClienti();

	public void save(Cliente cliente);

}
